import { http } from "@/utils/http";
import { baseURLApi, type resResult } from "./utils";

type tagOption = {
  id: number;
  tagName: string;
};

export const getAllTag = () => {
  return http.request<resResult<tagOption>>(
    "get",
    baseURLApi("/tag/getTagDictionary"),
    {}
  );
};
